var root = {
    getList : function(){
         var url = window.location.href;
         url = url.substring(url.indexOf("/", 8), url.length);
        $.get("/Menu/getRoot",{url : url}, function(data){
        console.log(data);
            $.each(data.data,function(index,value){
                $("#root").append('<span class="c-gray en">&gt;</span> '+value.name);
            });
        });
    }
}